package gc.rsb;

public class Circle {
    final double PI = 3.14;
    double r;
    public Circle(){
        double r = 0;
    }
    public void getArea() {
        double S;
        S = PI * r * r;
        System.out.println("圆的面积为："+S);
    }
    public void getPerimeter(){
        double C;
        C = 2 * PI * r;
        System.out.println("圆的周长为："+C);
    }
}
